package renjiyue.dao;


import org.apache.ibatis.annotations.Param;
import renjiyue.pojo.Teacher;

import java.util.List;

public interface TeacherMapper {
    //获取老师
    List<Teacher> getTeacher();
    //获取指定老师下的所有学生信息及老师信息
    Teacher getTeacher1(@Param("tid") int id);

    Teacher getTeacher2(int id);
}
